package com.chlitina.store.modules.inventory.model;

import java.util.ArrayList;
import java.util.List;

import com.chlitina.store.modules.base.entity.StoreProduct;
import com.chlitina.store.modules.employee.entity.Employee;

public class InventoryOut {
	private List<OutProduct> systemProducts=new  ArrayList<OutProduct>();
	private List<OutProduct> storeselfProducts=new  ArrayList<OutProduct>();
	private Employee employee;
	private String dateTime;
	private String remark;
	 
	/**
	 * CACHE DATA
	 */
	private List<StoreProduct> systemProductList;
	private List<StoreProduct> storeProductList;
	
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	public String getDateTime() {
		return dateTime;
	}
	public void setDateTime(String dateTime) {
		this.dateTime = dateTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public List<OutProduct> getSystemProducts() {
		return systemProducts;
	}
	public void setSystemProducts(List<OutProduct> systemProducts) {
		this.systemProducts = systemProducts;
	}
	public List<OutProduct> getStoreselfProducts() {
		return storeselfProducts;
	}
	public void setStoreselfProducts(List<OutProduct> storeselfProducts) {
		this.storeselfProducts = storeselfProducts;
	}
	
	public List<OutProduct> getAll() {
		List<OutProduct> products = new ArrayList<OutProduct>();
		products.addAll(systemProducts);
		products.addAll(storeselfProducts);
		return products;
	}
	public List<StoreProduct> getSystemProductList() {
		return systemProductList;
	}
	public void setSystemProductList(List<StoreProduct> systemProductList) {
		this.systemProductList = systemProductList;
	}
	public List<StoreProduct> getStoreProductList() {
		return storeProductList;
	}
	public void setStoreProductList(List<StoreProduct> storeProductList) {
		this.storeProductList = storeProductList;
	}
}
